<template>
  <div>
    <h3 style="text-align:center">你好,{{ username }}</h3>
  </div>
</template>

<script>
export default {
  data() {
    return {
      username: ""
    };
  },
  created() {
    var a = window.sessionStorage.getItem("username");
    this.username = a;
  },
  methods: {}
};
</script>
